#include <iostream>
#include <boost/system/error_code.hpp>
#include <boost/filesystem.hpp>

int main() 
{
    boost::system::error_code ec;
    boost::filesystem::path current_path = boost::filesystem::current_path(ec);

    if (ec) {
        std::cerr << "Error getting current path: " << ec.message() << std::endl;
        return 1;
    }

    std::cout << "Current path: " << current_path.string() << std::endl;

    return 0;
}